package com
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.display.DisplayObject;
	
	public class GraphicTile extends IsoObject
	{
		
		public function GraphicTile(size:Number, classRef:Class, xoffset:Number, yoffset:Number):void
		{
			super(size);
			
			//var gfx:DisplayObject = new classRef() as DisplayObject;
			var bmd:BitmapData = new classRef(20,10) as BitmapData;
			var gfx:Bitmap = new Bitmap(bmd);
			gfx.x = -xoffset;
			gfx.y = -yoffset;
			addChild(gfx);
		}
		
	}
}